package com.mars.common;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import redis.clients.jedis.ShardedJedis;
import redis.clients.jedis.ShardedJedisPool;

import javax.annotation.Resource;

/**
 * redis管理
 * @author MARS
 * @date 2018/2/12
 */

@Service("redisPool")
@Slf4j
public class RedisPool {

    @Resource
    private ShardedJedisPool shardedJedisPool;

    // 获取client
//    public ShardedJedis instance() {
//        s
//    }
}
